package com.idempotent.starter.token.impl;

import com.idempotent.starter.enums.TokenType;
import com.idempotent.starter.token.TokenService;

/**
 * Package: com.wyait.manage.idempotent.token
 * Description：
 * Author: huangjian
 * Date:  2020/9/13 18:18
 * Modified By:
 * @author huangjian
 */
public class TokenInRedis extends TokenService {

    @Override
    protected void putToken(String token) {

    }

    @Override
    public synchronized boolean verifyToken(String token) {
        return true;
    }

    @Override
    public TokenType support() {
        return TokenType.REDIS;
    }
}
